#include<stdio.h>

int main()
{

    FILE *fin=fopen("A.txt","r");
    FILE *fout=fopen("B.txt","w");

    int c;

    while(EOF!=(c=fgetc(fin)))
        fputc((char)(c),fout);


    fclose(fin);
    fclose(fout);

    return 0;
}
